//
// Created by Administrator on 2023/6/3.
//


#pragma once
#ifndef DESCRIPTIVE_WIDGET_H
#define DESCRIPTIVE_WIDGET_H

#include "../../Widget/LDF_Widget/header/LDF_Widget.h"
#include "../../Dialog/LDF_Dialog/header/LDF_Dialog.h"
#include "../Qss/Descripttive_Dialog_Qss.h"
#include "Data_Science.h"


#include "../../LDF_Table/header/LDF_Table.h"



#include <QLineEdit>
#include <QLabel>
#include <QString>

class Descriptive_Widget;




class Descripttive_Dialog: public LDF_Dialog
{
    Q_OBJECT
public:
    Descripttive_Dialog();


    ~Descripttive_Dialog();


    void Control_Profile();


public slots:

public:
    QLineEdit* columns_edit;
    QLabel* columns_lable;
    QPushButton* ok_button;

};








class Descriptive_Widget: public LDF_Widget
{
public:
    Descriptive_Widget();


    Descriptive_Widget(QVector<double>* qvec_data);


    ~Descriptive_Widget();


    void paintEvent(QPaintEvent *event) override;


    void resizeEvent(QResizeEvent* event);


    void paint();


    void Control_Profile();


    void Set_QVec_Data(QVector<double>* qvec_data);






    LDF_Table* table;


    QString select_columns {"所选列"};


    QVector<double>* qvec_data;


    Data_Science* data_science;

};


class Out_Table
{
    Out_Table();


    ~Out_Table();
};





#endif //DESCRIPTIVE_WIDGET_H
